package com.bric.util;

import java.util.ArrayList;
import java.util.List;

public class StaticStr {
	public static final String jdbcUrl=PropertiesUtil.getValue("jdbcUrl");
	public static final String driverClass=PropertiesUtil.getValue("driverClass");
	public static final String username=PropertiesUtil.getValue("username");
	public static final String password=PropertiesUtil.getValue("password");
	public static final String jdbcPoolSize=PropertiesUtil.getValue("jdbcPoolSize");
	public static final String ftpUser=PropertiesUtil.getValue("ftpUser");
	public static final String ftpPasswd=PropertiesUtil.getValue("ftpPasswd");
	public static final String ftpPort=PropertiesUtil.getValue("ftpPort");
	public static final String ftpIp=PropertiesUtil.getValue("ftpIp");
	public static final String ftpRoot=PropertiesUtil.getValue("ftpRoot");
	public static final String schStartTime=PropertiesUtil.getValue("schStartTime");
	public static final String period=PropertiesUtil.getValue("period");
	public static final String localFilePath=PropertiesUtil.getValue("localFilePath");
	public static final String localTempPath=PropertiesUtil.getValue("localTempPath");
	public static final String sqlFilePath=PropertiesUtil.getValue("sqlFilePath");
	public static final String cacheFilePath=PropertiesUtil.getValue("cacheFilePath");
	public static final String prewarnFilePath=PropertiesUtil.getValue("prewarnFilePath");
	public static final String reportFilePath=PropertiesUtil.getValue("reportFilePath");
	public static final String chinaBricWebRoot=PropertiesUtil.getValue("chinaBricWebRoot");
	public static final String quoteWebRoot=PropertiesUtil.getValue("quoteWebRoot");
	public static final String ftpfileName=PropertiesUtil.getValue("ftpfileName");
	//执行下载解压后缓冲多少秒进行下面任务执行
	public static final String bufferTime=PropertiesUtil.getValue("bufferTime");
	//是否立即执行
	public static final String isExcute=PropertiesUtil.getValue("isExcute");
	
	
	/**
	 * 终极ftp相关配置  开始
	 */
	public static final String finalFtpIp=PropertiesUtil.getValue("finalFtpIp");
	public static final String finalFtpUser=PropertiesUtil.getValue("finalFtpUser");
	public static final String finalFtpPassword=PropertiesUtil.getValue("finalFtpPassword");
	public static final String finalFtpPort=PropertiesUtil.getValue("finalFtpPort");
	public static final String finalFtpRoot=PropertiesUtil.getValue("finalFtpRoot");
	public static final String finalFileRoot=PropertiesUtil.getValue("finalFileRoot");
	public static final String finalFtpBackUp=PropertiesUtil.getValue("finalFtpBackUp");
	/**
	 * 终极ftp相关配置结束
	 */
	
	/**
	 * 配置任务是否执行的参数
	 */
	public static final String unzipTask=PropertiesUtil.getValue("unzipTask");
	public static final String preDataMoveTask=PropertiesUtil.getValue("preDataMoveTask");
	public static final String sqlExcuteTask=PropertiesUtil.getValue("sqlExcuteTask");
	public static final String cacheUploadTask=PropertiesUtil.getValue("cacheUploadTask");
	public static final String reportMoveTask=PropertiesUtil.getValue("reportMoveTask");
	public static final List<String> removeAllTable=new ArrayList<String>();
	public static final String updateUploadPrice=PropertiesUtil.getValue("updateUploadPrice");
	public static final String headerPath=PropertiesUtil.getValue("headerPath");
	public static final String moveHeaderFile=PropertiesUtil.getValue("moveHeaderFile");;
	static{
		String removeAllTables=PropertiesUtil.getValue("removeAllTables");
		for(String table:removeAllTables.split("\\,")){
			removeAllTable.add(table.toLowerCase());
		}
	}
	public static final String finalZipLocal=PropertiesUtil.getValue("finalZipLocal");
}
